
/* 导入核心库 */
import { library } from '@fortawesome/fontawesome-svg-core'

/* 导入图标组件 显示图标 */
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

/* 导入图库 */
import { faUserSecret, faHouse } from '@fortawesome/free-solid-svg-icons'
import { faUser } from '@fortawesome/free-regular-svg-icons'

/* 添加图表 */
library.add(faUserSecret)
library.add(faHouse)
library.add(faUser)


export default {
  install(Vue) {
    // 组成图标组件
    Vue.component('FontAwesomeIcon', FontAwesomeIcon)
  }
}